package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "购货单记录收据表（购货及退货）")
public class Receipt_Purchase {
  @ApiModelProperty(name = "receipt_Purchase_Id",notes = "单据编号id",dataType = "String",required = true)
  private String receipt_Purchase_Id;
  @ApiModelProperty(name = "supplier_Id",notes = "供应商编号",dataType = "String",required = true)
  private String supplier_Id;
  @ApiModelProperty(name = "supplier_Name",notes = "供应商名称",dataType = "String",required = true)
  private String supplier_Name;
  @ApiModelProperty(name = "receipt_Purchase_Reduced",notes = "优惠率",dataType = "double",required = true)
  private double receipt_Purchase_Reduced;
  @ApiModelProperty(name = "receipt_Purchase_Reducednum",notes = "优惠金额",dataType = "double",required = true)
  private double receipt_Purchase_Reducednum;
  @ApiModelProperty(name = "receipt_Purchase_Realmoney",notes = "优惠后金额",dataType = "double",required = true)
  private double receipt_Purchase_Realmoney;
  @ApiModelProperty(name = "receipt_Purchase_Payment",notes = "本次付款",dataType = "double",required = true)
  private double receipt_Purchase_Payment;
  @ApiModelProperty(name = "receipt_Purchase_Arrears",notes = "本次欠款",dataType = "double",required = true)
  private double receipt_Purchase_Arrears;
  @ApiModelProperty(name = "receipt_Purchase_Contract",notes = "采购合同",dataType = "String",required = false)
  private String receipt_Purchase_Contract;
  @ApiModelProperty(name = "receipt_Purchase_Makeman",notes = "制单人",dataType = "String",required = true)
  private String receipt_Purchase_Makeman;
  @ApiModelProperty(name = "receipt_Purchase_Auditman",notes = "审核人",dataType = "String",required = false)
  private String receipt_Purchase_Auditman;
  @ApiModelProperty(name = "receipt_Purchase_Date",notes = "单据日期",dataType = "String",required = true)
  private String receipt_Purchase_Date;
  @ApiModelProperty(name = "receipt_Purchase_Recorddate",notes = "录单时间  ",dataType = "String",required = true)
  private String receipt_Purchase_Recorddate;
  @ApiModelProperty(name = "receipt_Purchase_Lastrecorddate",notes = "最后修改时间",dataType = "String",required = true)
  private String receipt_Purchase_Lastrecorddate;
  @ApiModelProperty(name = "Purchase_Business_Type",notes = "业务类型",dataType = "String",required = true)
  private String Purchase_Business_Type;
  @ApiModelProperty(name = "receipt_Purchase_Status",notes = "状态",dataType = "int",required = false)
  private long receipt_Purchase_Status;
  @ApiModelProperty(name = "receipt_Purchase_Check_Code",notes = "审核码",dataType = "int",required = false)
  private long receipt_Purchase_Check_Code;
  @ApiModelProperty(name = "receipt_Purchase_Comm",notes = "备注",dataType = "String",required = false)
  private String receipt_Purchase_Comm;
  @ApiModelProperty(name = "receipt_Purchase_Sumnum",notes = "商品总数量",dataType = "int",required = true)
  private int receipt_Purchase_Sumnum;
  @ApiModelProperty(name = "receipt_Purchase_Sumdiscountnum",notes = "总折扣额",dataType = "double",required = true)
  private double receipt_Purchase_Sumdiscountnum;
  @ApiModelProperty(name = "receipt_Purchase_Money",notes = "总购货金额",dataType = "double",required = true)
  private double receipt_Purchase_Money;
  @ApiModelProperty(name = "receipt_Pay_Id",notes = "收款单收据",dataType = "String",required = true)
  private String receipt_Pay_Id;
  @ApiModelProperty(name = "account_Id",notes = "账户ID",dataType = "int",required = false)
  private int account_Id;

  private List<Purchase>  purchaseList;

  public String getReceipt_Purchase_Id() {
    return receipt_Purchase_Id;
  }

  public void setReceipt_Purchase_Id(String receipt_Purchase_Id) {
    this.receipt_Purchase_Id = receipt_Purchase_Id;
  }

  public String getSupplier_Id() {
    return supplier_Id;
  }

  public void setSupplier_Id(String supplier_Id) {
    this.supplier_Id = supplier_Id;
  }

  public String getSupplier_Name() {
    return supplier_Name;
  }

  public void setSupplier_Name(String supplier_Name) {
    this.supplier_Name = supplier_Name;
  }

  public double getReceipt_Purchase_Reduced() {
    return receipt_Purchase_Reduced;
  }

  public void setReceipt_Purchase_Reduced(double receipt_Purchase_Reduced) {
    this.receipt_Purchase_Reduced = receipt_Purchase_Reduced;
  }

  public double getReceipt_Purchase_Reducednum() {
    return receipt_Purchase_Reducednum;
  }

  public void setReceipt_Purchase_Reducednum(double receipt_Purchase_Reducednum) {
    this.receipt_Purchase_Reducednum = receipt_Purchase_Reducednum;
  }

  public double getReceipt_Purchase_Realmoney() {
    return receipt_Purchase_Realmoney;
  }

  public void setReceipt_Purchase_Realmoney(double receipt_Purchase_Realmoney) {
    this.receipt_Purchase_Realmoney = receipt_Purchase_Realmoney;
  }

  public double getReceipt_Purchase_Payment() {
    return receipt_Purchase_Payment;
  }

  public void setReceipt_Purchase_Payment(double receipt_Purchase_Payment) {
    this.receipt_Purchase_Payment = receipt_Purchase_Payment;
  }

  public double getReceipt_Purchase_Arrears() {
    return receipt_Purchase_Arrears;
  }

  public void setReceipt_Purchase_Arrears(double receipt_Purchase_Arrears) {
    this.receipt_Purchase_Arrears = receipt_Purchase_Arrears;
  }

  public String getReceipt_Purchase_Contract() {
    return receipt_Purchase_Contract;
  }

  public void setReceipt_Purchase_Contract(String receipt_Purchase_Contract) {
    this.receipt_Purchase_Contract = receipt_Purchase_Contract;
  }

  public String getReceipt_Purchase_Makeman() {
    return receipt_Purchase_Makeman;
  }

  public void setReceipt_Purchase_Makeman(String receipt_Purchase_Makeman) {
    this.receipt_Purchase_Makeman = receipt_Purchase_Makeman;
  }

  public String getReceipt_Purchase_Auditman() {
    return receipt_Purchase_Auditman;
  }

  public void setReceipt_Purchase_Auditman(String receipt_Purchase_Auditman) {
    this.receipt_Purchase_Auditman = receipt_Purchase_Auditman;
  }

  public String getReceipt_Purchase_Date() {
    return receipt_Purchase_Date;
  }

  public void setReceipt_Purchase_Date(String receipt_Purchase_Date) {
    this.receipt_Purchase_Date = receipt_Purchase_Date;
  }

  public String getReceipt_Purchase_Recorddate() {
    return receipt_Purchase_Recorddate;
  }

  public void setReceipt_Purchase_Recorddate(String receipt_Purchase_Recorddate) {
    this.receipt_Purchase_Recorddate = receipt_Purchase_Recorddate;
  }

  public String getReceipt_Purchase_Lastrecorddate() {
    return receipt_Purchase_Lastrecorddate;
  }

  public void setReceipt_Purchase_Lastrecorddate(String receipt_Purchase_Lastrecorddate) {
    this.receipt_Purchase_Lastrecorddate = receipt_Purchase_Lastrecorddate;
  }

  public String getPurchase_Business_Type() {
    return Purchase_Business_Type;
  }

  public void setPurchase_Business_Type(String purchase_Business_Type) {
    this.Purchase_Business_Type = purchase_Business_Type;
  }

  public long getReceipt_Purchase_Status() {
    return receipt_Purchase_Status;
  }

  public void setReceipt_Purchase_Status(long receipt_Purchase_Status) {
    this.receipt_Purchase_Status = receipt_Purchase_Status;
  }

  public long getReceipt_Purchase_Check_Code() {
    return receipt_Purchase_Check_Code;
  }

  public void setReceipt_Purchase_Check_Code(long receipt_Purchase_Check_Code) {
    this.receipt_Purchase_Check_Code = receipt_Purchase_Check_Code;
  }

  public String getReceipt_Purchase_Comm() {
    return receipt_Purchase_Comm;
  }

  public void setReceipt_Purchase_Comm(String receipt_Purchase_Comm) {
    this.receipt_Purchase_Comm = receipt_Purchase_Comm;
  }

  public int getReceipt_Purchase_Sumnum() {
    return receipt_Purchase_Sumnum;
  }

  public void setReceipt_Purchase_Sumnum(int receipt_Purchase_Sumnum) {
    this.receipt_Purchase_Sumnum = receipt_Purchase_Sumnum;
  }

  public double getReceipt_Purchase_Sumdiscountnum() {
    return receipt_Purchase_Sumdiscountnum;
  }

  public void setReceipt_Purchase_Sumdiscountnum(double receipt_Purchase_Sumdiscountnum) {
    this.receipt_Purchase_Sumdiscountnum = receipt_Purchase_Sumdiscountnum;
  }

  public double getReceipt_Purchase_Money() {
    return receipt_Purchase_Money;
  }

  public void setReceipt_Purchase_Money(double receipt_Purchase_Money) {
    this.receipt_Purchase_Money = receipt_Purchase_Money;
  }

  public String getReceipt_Pay_Id() {
    return receipt_Pay_Id;
  }

  public void setReceipt_Pay_Id(String receipt_Pay_Id) {
    this.receipt_Pay_Id = receipt_Pay_Id;
  }

  public int getAccount_Id() {
    return account_Id;
  }

  public void setAccount_Id(int account_Id) {
    this.account_Id = account_Id;
  }

  public List<Purchase> getPurchaseList() {
    return purchaseList;
  }

  public void setPurchaseList(List<Purchase> purchaseList) {
    this.purchaseList = purchaseList;
  }

  @Override
  public String toString() {
    return "Receipt_Purchase{" +
            "receipt_Purchase_Id='" + receipt_Purchase_Id + '\'' +
            ", supplier_Id='" + supplier_Id + '\'' +
            ", supplier_Name='" + supplier_Name + '\'' +
            ", receipt_Purchase_Reduced=" + receipt_Purchase_Reduced +
            ", receipt_Purchase_Reducednum=" + receipt_Purchase_Reducednum +
            ", receipt_Purchase_Realmoney=" + receipt_Purchase_Realmoney +
            ", receipt_Purchase_Payment=" + receipt_Purchase_Payment +
            ", receipt_Purchase_Arrears=" + receipt_Purchase_Arrears +
            ", receipt_Purchase_Contract='" + receipt_Purchase_Contract + '\'' +
            ", receipt_Purchase_Makeman='" + receipt_Purchase_Makeman + '\'' +
            ", receipt_Purchase_Auditman='" + receipt_Purchase_Auditman + '\'' +
            ", receipt_Purchase_Date='" + receipt_Purchase_Date + '\'' +
            ", receipt_Purchase_Recorddate='" + receipt_Purchase_Recorddate + '\'' +
            ", receipt_Purchase_Lastrecorddate='" + receipt_Purchase_Lastrecorddate + '\'' +
            ", Purchase_Business_Type='" + Purchase_Business_Type + '\'' +
            ", receipt_Purchase_Status=" + receipt_Purchase_Status +
            ", receipt_Purchase_Check_Code=" + receipt_Purchase_Check_Code +
            ", receipt_Purchase_Comm='" + receipt_Purchase_Comm + '\'' +
            ", receipt_Purchase_Sumnum=" + receipt_Purchase_Sumnum +
            ", receipt_Purchase_Sumdiscountnum=" + receipt_Purchase_Sumdiscountnum +
            ", receipt_Purchase_Money=" + receipt_Purchase_Money +
            ", receipt_Pay_Id='" + receipt_Pay_Id + '\'' +
            ", account_Id=" + account_Id +
            ", purchaseList=" + purchaseList +
            '}';
  }
}
